home *** CD-ROM | disk | FTP | other *** search
/ .net (French) 1996 November / .net Magazine (FR) - Issue 01 - Nov 1996.iso / mac / Edition Web / HTMLedit173-ppc / HTML.edit 1.7.3 (ppc) / HTML.edit 1.7.3 (ppc).rsrc / TEXT_19356_Named Anchor.txt < prev    next >
Text File  |  1996-09-16  |  2KB  |  26 lines

  1.  
  2. Named Anchor
  3.  
  4. A named anchor provides a way of tagging a section of text as the target (AKA ΓÇ£the headΓÇ¥) of a link. For example, each heading within the large document might be tagged with Named Anchors, then HyperText links (AKA the ΓÇ£tailΓÇ¥ of a link) jump to the document and automatically scroll to the specified Named Anchor. Obviously, for this scheme to work, each named anchor within a document must be unique.
  5.  
  6. To create a named anchor, select the text that is to become the jump-to point, then choose Named AnchorΓǪ from the Anchor menu and enter the name of the Named Anchor, as in:
  7.  
  8.  <A NAME="edmonton">Edmonton</A> is Alberta's capital andΓǪ
  9.  
  10. Now to create a link to the named anchor, you include not only the filename, but also the named anchor, separated by a hash mark "#":
  11.  
  12.   In <A HREF="cities.html#edmonton">Edmonton</a> we visitedΓǪ 
  13.  
  14. Now clicking on the word "Edmonton" in the above text would send the reader directly to the word "Edmonton" in the linked document.
  15.  
  16.  
  17. Within the Same Document
  18. To create an anchors to a specific sections within the current document, the technique is exactly the same except that the file name is omitted, as in
  19.  
  20.   In <A HREF="#edmonton">Edmonton</a> we visitedΓǪ
  21.  
  22. Note: The NCSA Mosaic Back button does not work for an anchor within a document because the Back button is designed to move to a previous document.  Move back manually within the document using the scroll bar.
  23.  
  24. Back to Anchor menu, on to Table of Contents, or return to Contents.
  25.  
  26.